package com.audaque.springboot.foshanupload.web.springsecuritycasdemo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author zgb
 * @desc ...
 * @date 2022-12-17 15:29:43
 */
@RestController
@RequestMapping("security")
public class SecurityController {
    @GetMapping("user")
    @ResponseBody
    public String user() {
        return "user";
    }

    @GetMapping("dept")
    @ResponseBody
    public String dept() {
        return "dept";
    }
}
